﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace T1task2
{
    class Program
    {
        static void Main(string[] args)
        {
            Game1 game1 = new Game1();
            game1.name = "英雄联盟";
            game1.category = "电脑多人竞技游戏";
            game1.price = 5;
            game1.stock = 199;
            game1.addTime = DateTime.Now;


            Game2 game2 = new Game2();
            game2.name = "云顶之奕";
            game2.category = "电脑多人战棋游戏";
            game2.price = 6;
            game2.stock = 199;
            game2.addTime = DateTime.Now;


            Game3 game3 = new Game3();
            game3.name = "纪念碑谷";
            game3.category = "手机解谜游戏";
            game3.price = 7;
            game3.stock = 199;
            game3.addTime = DateTime.Now;


            Console.WriteLine("游戏名称\t\t游戏类型\t\t游戏价格\t库存数量");
            Console.WriteLine();


            Console.WriteLine("{0}\t\t{1}\t\t{2}\t\t{3}", game1.name,
            game1.category, game1.price, game1.stock);
            Console.WriteLine();

            Console.WriteLine("{0}\t\t{1}\t\t{2}\t\t{3}", game2.name,
            game2.category, game2.price, game2.stock);
            Console.WriteLine();

            Console.WriteLine("{0}\t\t{1}\t\t{2}\t\t{3}", game3.name,
            game3.category, game3.price, game3.stock);
            Console.WriteLine();

        }
    }
}
